//
//  DetaileCourse.m
//  Courses
//
//  Created by YiXuePxh on 15/5/20.
//  Copyright (c) 2015年 boyibang. All rights reserved.
//

#import "DetaileCourse.h"

@implementation DetaileCourse
-(instancetype)initWithJsonDict:(id)jsonDict{
    if (self = [super init]) {
        self.courseName = jsonDict[@"courseName"];
        self.videoId = jsonDict[@"videoId"];
        self.teacher = jsonDict[@"teacher"];
        self.time = jsonDict[@"time"];
        self.courseIntro = jsonDict[@"courseIntro"];
        self.recommed = jsonDict[@"recommend"];
    }
    return self;
}
@end
